/*!
 * Marp / Marpit IGGG theme.
 *
 * @theme iggg
 * @author MATSUBARA Nobutada
 * @size 4:3 960px 720px
 * @size 16:9 1280px 720px
 */

$iggg: #1b7aca;

@import url('https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.0.3/styles/github.min.css');

section {
  background-color: white;
  color: #323232;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 1.25px;
  padding: 70px;
  font-family: '源真ゴシック', 'ヒラギノ角ゴ Pro W3', 'Lato', 'Avenir Next', 'Avenir', 'Trebuchet MS', 'Segoe UI', sans-serif;

  > *:first-child {
    margin-top: -0.5em;
    margin-bottom: 0;
  }

  strong {
    color: $iggg;
  }

  pre {
    display: block;
    margin: 1em 0 0 0;
    min-height: 1em;
    overflow: visible;

    code {
      box-sizing: border-box;
      margin: 0;
      min-width: 100%;
      padding: 0.5em;
      font-size: 0.7em;
      background-color: rgba(0,0,0,.1);
    }
  }

  code {
    display: inline-block;
    font-family: 'NasuM', 'Roboto Mono', monospace;
    font-size: 0.8em;
    letter-spacing: 0;
    margin: -0.1em 0.15em;
    padding: 0.1em 0.2em;
    vertical-align: baseline;
    background-color: rgba(0,0,0,.1);
  }

  ul,
  ol {
    > li {
      margin: 0.3em 0 0 0;
      > p {
        margin: 0.6em 0 0 0;
      }
    }
  }

  img[alt~="center"] {
    display: block;
    margin: 0 auto;
  }
}

section.lead {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  text-align: center;

  > *:first-child {
    margin-top: 0;
  }
}

section.split {
  div.column {
    display: table-cell;
    columns: 2;

    h3 {
      break-before: column;
    }
  }
}
